home *** CD-ROM | disk | FTP | other *** search
/ Champak 74 / Volume 74 My Disc - Damaged.iso / Games / rufus.swf / scripts / DefineSprite_1178 / frame_373 / DoAction.as
Text File  |  2008-08-08  |  966b  |  39 lines

  1. Obs = 9;
  2. set("/Variables:ObsActif",5);
  3. set("/Variables:Obs" + Obs + "Active",true);
  4. tellTarget("_root.Game.Obstacle" + Obs)
  5. {
  6.    gotoAndStop(eval("/Variables:ObsActif"));
  7. }
  8. tellTarget("_root.Game.Obstacle" + Obs + "Bg")
  9. {
  10.    gotoAndStop(eval("/Variables:ObsActif"));
  11. }
  12. tellTarget("_root.Game.Obstacle" + Obs + "Mid2")
  13. {
  14.    gotoAndStop(eval("/Variables:ObsActif"));
  15. }
  16. tellTarget("_root.Game.Obstacle" + Obs + "Mid")
  17. {
  18.    gotoAndStop(eval("/Variables:ObsActif"));
  19. }
  20. Obs = 3;
  21. set("/Variables:ObsActif",5);
  22. set("/Variables:Obs" + Obs + "Active",true);
  23. tellTarget("_root.Game.Obstacle" + Obs)
  24. {
  25.    gotoAndStop(eval("/Variables:ObsActif"));
  26. }
  27. tellTarget("_root.Game.Obstacle" + Obs + "Bg")
  28. {
  29.    gotoAndStop(eval("/Variables:ObsActif"));
  30. }
  31. tellTarget("_root.Game.Obstacle" + Obs + "Mid2")
  32. {
  33.    gotoAndStop(eval("/Variables:ObsActif"));
  34. }
  35. tellTarget("_root.Game.Obstacle" + Obs + "Mid")
  36. {
  37.    gotoAndStop(eval("/Variables:ObsActif"));
  38. }
  39.